<?php
if(SYSDEF_SERVER_TYPE == 'dev')
    define('ML_SEARCH_TMP_DIR' , '/data1/www/privdata/dr.meila.com/rsync/search/');
else
    define('ML_SEARCH_TMP_DIR' , SYSDEF_DATA_ROOT_PATH.'/rsync/search/');
    
define('ML_SEARCH_TMP_CONTENT_DIR' , ML_SEARCH_TMP_DIR.'content/');
define('ML_SEARCH_TMP_USER_DIR' , ML_SEARCH_TMP_DIR.'user/');
define('ML_SEARCH_TMP_CONTENT_FAIL', ML_SEARCH_TMP_CONTENT_DIR. 'error_tmp_log/');
define('ML_SEARCH_TMP_CONTENT_EMPTY', ML_SEARCH_TMP_CONTENT_DIR.'error_tmp_empty/');

define(    'ML_SEARCH_CONTENT_RSYNC_IP',    '172.16.136.84');//rsync 目标 ip
define(    'ML_SEARCH_CONTENT_RSYNC_MODULE',    'MINI_SEARCH/meila_gd/');

define(    'ML_SEARCH_CONTENT_RSYNC_PATH_SUCCESS_BAK',    ML_SEARCH_TMP_CONTENT_DIR. date('Y-m-d'). '/');//推送成功后备份目录
define(    'ML_SEARCH_CONTENT_RSYNC_PATH_ERROR_BAK',    ML_SEARCH_TMP_CONTENT_DIR. 'erro_rsyncfile/');//推送错误后备份目录


define(    'ML_SEARCH_USER_RSYNC_IP',    '172.16.136.84');//rsync 目标 ip
define(    'ML_SEARCH_USER_RSYNC_MODULE',    'MINI_SEARCH/meila_user/');

define(    'ML_SEARCH_USER_RSYNC_PATH_SUCCESS_BAK',    ML_SEARCH_TMP_USER_DIR. date('Y-m-d'). '/');//推送成功后备份目录
define(    'ML_SEARCH_USER_RSYNC_PATH_ERROR_BAK',    ML_SEARCH_TMP_USER_DIR. 'erro_rsyncfile/');//推送错误后备份目录